package com.henghe.frame.auth.service;

import com.henghe.frame.auth.entity.SysLog;
import com.henghe.frame.auth.mapper.SysLogMapper;
import com.henghe.frame.domain.base.BaseClass;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Description:
 * Author: LiuWenQing
 * Datetime: 2023/4/4 16:48
 */
@Service
public class CommOptLogAuthService extends BaseClass {

    @Autowired
    private SysLogMapper sysLogMapper;

    /**
     * aop写入操作日志
     * @param sysLog
     */
    public void sysLogInsert(SysLog sysLog) {
        sysLogMapper.insert(sysLog);
    }
}
